package com.lingxu.module.process.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import java.math.BigInteger;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 模型审批默认节点信息
 * </p>
 *
 * @author admin
 * @since 2025-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_MODEL_ACTIVITY")
@ApiModel(value="TModelActivity对象", description="模型审批默认节点信息")
public class TModelActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "模型id")
    @TableField("MODEL_ID")
    @NotNull(message = "模型id不能为空")
    private String modelId;


    private String modelRunRecordId;

    @ApiModelProperty(value = "模型名称")
    @TableField("MODEL_NAME")
    private String modelName;

    @ApiModelProperty(value = "模型运行时间")
    @TableField("MODEL_RUN_TIME")
    private String modelRunTime;

    @ApiModelProperty(value = "发起人id")
    @TableField("FQR_ID")
    @NotNull(message = "发起人id不能为空")
    private String fqrId;

    @ApiModelProperty(value = "发起人名称")
    @TableField("FQR_NAME")
    private String fqrName;

    @ApiModelProperty(value = "发起人部门ID")
    @TableField("FQR_DEPT_ID")
    private String fqrDeptId;

    @ApiModelProperty(value = "发起人部门名称")
    @TableField("FQR_DEPT_NAME")
    private String fqrDeptName;

    @ApiModelProperty(value = "处理意见")
    @TableField("CLYJ")
    private String clyj;

    @ApiModelProperty(value = "接受人")
    @TableField("TO_USER_NAME")
    private String toUserName;

    @ApiModelProperty(value = "接受人id")
    @TableField("TO_USER_ID")
    private String toUserId;
    @TableField("TO_DEPT_ID")
    private String toDeptId;



    @ApiModelProperty(value = "1转办 2 审核 3驳回 ")
    @TableField("TYPE")
    @NotNull(message = "类型不能为空 ")
    private Integer type;

    @TableField("CZJG_DATA_ID")
    private Long czjgDataId;

    private Integer czjg;
    private String data;
    @ApiModelProperty(value = "1通过 2 拒绝 3 审核中")
    @TableField("STATUS")
    private Integer status;


    @ApiModelProperty(value = "创建人")
    @TableField("CREATOR")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "逻辑删除 0正常")
    @TableField("DELETED")
    private Boolean deleted;


}
